package cn.tedu.blackhorse.service;

import cn.tedu.blackhorse.pojo.dto.SalaryAddNewDTO;
import cn.tedu.blackhorse.pojo.dto.SalaryUpdateDTO;
import cn.tedu.blackhorse.pojo.dto.TeacherUpdateDTO;
import cn.tedu.blackhorse.pojo.vo.SalaryListItemVO;
import cn.tedu.blackhorse.pojo.vo.SalaryStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ISalaryService {
    void insertSalary(SalaryAddNewDTO salaryAddNewDTO);

    void deleteSalary(Long teacherId);

    void updateById(Long id, SalaryUpdateDTO salaryUpdateDTO);

    List<SalaryListItemVO> list();

    SalaryStandardVO getByTeacherId(Long teacherId);
}
